]> dgit.raspbian.org Git - gnome-shell.git/commit
overview: Implement startup animation
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Mon, 15 Feb 2021 20:39:14 +0000 (17:39 -0300)
committerMarge Bot <marge-bot@gnome.org>
Tue, 2 Mar 2021 23:14:07 +0000 (23:14 +0000)
commitc4e43efb1e9e05e718733aa53e79b079bdf6c71f
tree84cb559fc8ac6b1d0a5b630a8040c3e5bc14543a
parent930d0b615125291776cd1e31d0f1d3b5d0266e00
overview: Implement startup animation

The new startup animation consists of rising the Dash from the bottom,
falling the search entry from the ceiling, and going from HIDDEN to
WINDOW_PICKER with an opacity applied.

One little trick from IconGridLayout was added to ControlsManagerLayout,
which is a promises-based wait for allocation. This is required to make
sure that the transformed position of the search entry is valid, which
is only the case right after an allocation.

This animation also ensures that the overview is shown right on startup.

For session modes that do not have an overview, continue using the same
fade + scale animation.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1678>
js/ui/layout.js
js/ui/overview.js
js/ui/overviewControls.js